package work.sby.pojo;

public class Buy {
    private Integer id;
    private String buyername;
    private String goodname;
    private Integer pay;

    public Buy() {}
    public Buy(Integer id, String buyername, String goodname, Integer pay) {
       int a=0;
        this.id = id;
        this.buyername = buyername;
        this.goodname = goodname;
        this.pay = a;
    }

    @Override
    public String toString() {
        return "Buy{" +
                "id=" + id +
                ", buyername='" + buyername + '\'' +
                ", goodname='" + goodname + '\'' +
                ", pay=" + pay +
                '}';
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBuyername() {
        return buyername;
    }

    public void setBuyername(String buyername) {
        this.buyername = buyername;
    }

    public String getGoodname() {
        return goodname;
    }

    public void setGoodname(String goodname) {
        this.goodname = goodname;
    }

    public Integer getPay() {
        return pay;
    }

    public void setPay(Integer pay) {
        this.pay = pay;
    }



    }



